package eva.savant.core.view.util;

import net.sf.jasperreports.engine.JRDefaultScriptlet;
import net.sf.jasperreports.engine.JRScriptletException;

public class NumberToTextWrapper extends JRDefaultScriptlet {

    public void beforeReportInit() throws JRScriptletException {

    }

    public void afterReportInit() throws JRScriptletException {

    }

    public void beforePageInit() throws JRScriptletException {

    }

    public void afterPageInit() throws JRScriptletException {

    }

    public void beforeColumnInit() throws JRScriptletException {

    }

    public void afterColumnInit() throws JRScriptletException {

    }

    public void beforeGroupInit(String groupName) throws JRScriptletException {

    }

    public void afterGroupInit(String groupName) throws JRScriptletException {

    }

    public void beforeDetailEval() throws JRScriptletException {

    }

    public void afterDetailEval() throws JRScriptletException {

    }

    public String toAmountText(double amount , String currencySuffix) throws JRScriptletException {

        return NumberToText.toAmountText(amount , currencySuffix) ;
    }

}
